package com.yuan.user.client;

import com.yuan.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 就诊人信息
 *
 * @Author yuan
 * @Date 2021/7/16 15:26
 */
@FeignClient(value = "service-user")
@Repository
public interface PatientFeignClient {

    @GetMapping("/api/user/patient/inner/get/{id}")
    Patient getPatientOrder(@PathVariable Long id);
}
